# nav_recip_common : CMakeLists.txt
cmake_minimum_required(VERSION 2.4.6)
include($ENV{ROS_ROOT}/core/rosbuild/rosbuild.cmake)

# Set the build type. Options are:
#  Coverage       : w/ debug symbols, w/o optimization, w/ code-coverage
#  Debug          : w/ debug symbols, w/o optimization
#  Release        : w/o debug symbols, w/ optimization
#  RelWithDebInfo : w/ debug symbols, w/ optimization
#  MinSizeRel     : w/o debug symbols, w/ optimization, stripped binaries
#set(ROS_BUILD_TYPE RelWithDebInfo)

# Initialize rosbuild.
rosbuild_init()

# Check for Intel Streaming SIMD Extensions (SSE).
rosbuild_check_for_sse()

# Set the default path for built executables to the "bin" directory.
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin)

# Add the "include" directory to the search path for headers.
include_directories(${PROJECT_SOURCE_DIR}/include)

# Build Google Test unit tests from source in the "tests" directory.
rosbuild_add_gtest(nav_recip_common_test test/nav_recip_common_test.cpp)
